home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 January / EnterCD 01_2004.iso / Multimedia / Advanced Effect Maker Freeware Edition 1.0 / aemf10.exe / {app} / templates / starmessage.swf / scripts / frame_5 / DoAction.as
Encoding:
Text File  |  2002-11-13  |  308 b   |  18 lines

  1. myp--;
  2. if(myp == tpause / 2)
  3. {
  4.    ii++;
  5.    if(ii >= maxitems | texts[ii] eq "")
  6.    {
  7.       ii = 0;
  8.    }
  9. }
  10. aval = Math.abs(tpause / 2 - myp);
  11. aval = int(aval * 200 / tpause);
  12. set("mama.mim.tholder.text.text",texts[ii]);
  13. setProperty("mama.mim", _alpha, aval);
  14. if(myp < 0)
  15. {
  16.    myp = tpause;
  17. }
  18.